package com.ccgk.logistics.service;

import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.ccgk.common.page.PaginationVo;
import com.ccgk.logistics.domain.Fee;
import com.ccgk.logistics.service.ContainerService.ContainerCriteria;

public interface FeeService {
	
	static class FeeCriteria{
		private Map<Integer,Object> params = new HashMap<Integer,Object>();
		
		public FeeCriteria nameLike(String name){
			params.put(1,name);
			return this;
		}
		
		public Map<Integer,Object> getParams(){
			return Collections.unmodifiableMap(params);
		}
	}
	
	Integer add(Fee fee);
	
	Fee getById(int id);
	
	Fee getByName(String id);
	
	List<Fee> findAll();
	
	Integer update(Fee fee);
	
	Integer delete(int id);

	PaginationVo<Fee> findList(FeeCriteria criteria,int currentPage, int pageSize);

	void batchDelete(Integer[] idIntArray);
}
